package com.kelaite.procurement.service;

import java.util.Date;
import java.util.List;

import com.kelaite.procurement.entity.TSalesOrder;

public interface SalesOrderService {
	public TSalesOrder save(TSalesOrder persistence);

	public void deleteByPrimaryKey(Long id);
	
	public void deleteByObject(TSalesOrder persistence);

	public TSalesOrder getObject(Long id);
	
	public List<TSalesOrder> getAll();

	public List<TSalesOrder> getByProperty(String property, Object value);
	
	public List<TSalesOrder> getByPropertyByStatus(String property, Object value,Short orderStatus);
	
	public void updateSalesEstimate(Long salesOrderId,String evlautionDesc,String evaluationScore4,Date updateTime,String updateBy);
	
	public void updateSalesEstimateManyGrade(Long salesOrderId,String evlautionDesc,String evaluationScore2,String evaluationScore3,String evaluationScore4,String evaluationScore5,Date updateTime,String updateBy);
}
